﻿<%@ Page Title="Column mapping" Language="C#" MasterPageFile="~/OutlookMaster.master" AutoEventWireup="true"
    CodeFile="ColumnMappingList.aspx.cs" Inherits="Pages_ColumnMappingList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPage" runat="Server">
    <br />
    <asp:HyperLink ID="hypMappingNew" runat="server" NavigateUrl="ColumnMapping.aspx" Text="New Column mapping"></asp:HyperLink>
    <br />
    <br />
    <asp:GridView ID="gvColumnMappingList" runat="server" DataKeyNames="ColumnMappingId"
        OnSelectedIndexChanged="gvColumnMappingList_SelectedIndexChanged" 
    AutoGenerateColumns="False" Width="100%">
        <Columns>
            <asp:CommandField ShowSelectButton="True" />
            <asp:BoundField DataField="TableName" HeaderText="Table name" />
            <asp:BoundField DataField="ReferenceObject" HeaderText="Reference table/view" />
            <asp:BoundField DataField="TableColumnName" HeaderText="Table colmn" />
            <asp:BoundField DataField="ReferenceIdColumn" HeaderText="Reference column" />
        </Columns>
    </asp:GridView>
</asp:Content>
